Part Number Hot Search : 
ABC25 04PC20I V22ZC1 LB1633M 15A60 A3860I 1N3882 42225
Product Description
Full Text Search
 

To Download VS1000 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  VS1000b VS1000 VS1000 - ogg vorbis player ic with usb and nand flash interface hardware features 2 low-power operation 2 single input voltage: internal voltage regu- lation for analog, digital, and i/o power 2 operates with a single 12 mhz clock 2 internal pll clock multiplier 2 power button pin, software-controlled power-off 2 usb full speed hardware 2 nand flash interface with ecc 2 i/o for user interface 2 high-quality on-chip stereo dac with no phase error between channels 2 stereo earphone driver capable of driving a 30 load 2 lead-free rohs-compliant package (green) firmware features 2 implements usb mass storage device and audio device 2 nand flash handling with error correc- tion, block remapping, and wear levelling 2 default player application in ?rmware C decodes ogg vorbis, sound level normalization using replay gain C pause / play C volume control C next / previous song C rewind and fast forward C random play C earspeaker spatial processing 2 bass and treble controls for customized player 2 nand flash boot for customized player 2 spi flash boot for special applications 2 uart for debugging and special applica- tions description VS1000 is a single-chip ogg vorbis (license-free audio codec) player. VS1000 contains a high-per- formance low-power dsp core vs dsp 4 , nand flash interface, full speed usb port, general purpose i/o pins, spi, uart, as well as a high- quality variable-sample-rate stereo dac, and an earphone ampli?er and a common voltage buffer. VS1000 ?rmware implements a default player that reads and plays ?les from the nand flash. the player can be customized or replaced by us- ing boot from nand flash. when connected to usb, the ?rmware implements usb mass storage device protocol or acts as an audio device, providing a single-chip usb head- phone application. earspeaker spatial processing provides more nat- ural sound in headphone listening conditions. it widens the stereo image and positions the sound sources outside the listeners head. spi eeprom can be used to load code in appli- cations that do not use nand flash. version 1.0, 2007-09-11 1 vlsi solution y
VS1000b VS1000 contents contents 1 disclaimer 4 2 de?nitions 4 3 characteristics & speci?cations 4 3.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3.2 recommended operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.3 analog characteristics of audio outputs . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.4 analog characteristics of regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.5 analog characteristics of vhigh voltage monitor . . . . . . . . . . . . . . . . . . . . 6 3.6 analog characteristics of cvdd voltage monitor . . . . . . . . . . . . . . . . . . . . . 6 3.7 analog characteristics of usb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.8 power consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.9 digital characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4 packages and pin descriptions 8 4.1 packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4.2 lqfp-48 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 5 example schematic 11 6 VS1000 functional blocks 12 6.1 regulator section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 6.2 digital section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 6.3 analog section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 version 1.0, 2007-09-11 2 vlsi solution y
VS1000b VS1000 list of figures 7 firmware operation 15 7.1 spi boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 7.2 nand flash probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 7.3 uart boot/monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 7.4 default firmware features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 7.4.1 usb mass storage and audio device . . . . . . . . . . . . . . . . . . . . . . . 17 7.4.2 default player application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 7.5 supported audio codecs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.5.1 supported ogg vorbis formats . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.6 earspeaker spatial processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 8 VS1000 errata 21 9 document version changes 22 10 contact information 23 list of figures 1 pin con?guration, lqfp-48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 VS1000 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3 earspeaker externalized sound sources vs. normal inside-the-head sound . . . . . . . . . 20 version 1.0, 2007-09-11 3 vlsi solution y
VS1000b VS1000 1. disclaimer 1 disclaimer all properties and ?gures are subject to change. 2 de?nitions b byte, 8 bits. b bit. ki kibi = 2 10 = 1024 (iec 60027-2). mi mebi = 2 20 = 1048576 (iec 60027-2). vs dsp vlsi solutions dsp core. w word. in vs dsp, instruction words are 32-bit and data words are 16-bit wide. 3 characteristics & speci?cations 3.1 absolute maximum ratings parameter symbol min max unit regulator input voltage vhigh -0.3 5.25 v analog positive supply avdd -0.3 3.6 v digital positive supply cvdd -0.3 2.7 v i/o positive supply iovdd -0.3 3.6 v voltage at any digital input -0.3 iovdd+0.3 1 v total injected current on pins 200 2 ma operating temperature -40 +85 c storage temperature -65 +150 c 1 must not exceed 3.6 v 2 latch-up limit version 1.0, 2007-09-11 4 vlsi solution y
VS1000b VS1000 3. characteristics & specifications 3.2 recommended operating conditions parameter symbol min typ max unit operating temperature -40 +85 c analog and digital ground 1 agnd dgnd 0.0 v regulator input voltage 2 vhigh avdd+0.3 4.0 5.25 v analog positive supply 3 avdd 2.75 2.8 3.6 v digital positive supply 3 cvdd 2.2 2.3 2.65 v i/o positive supply 3 iovdd 1.8 2.8 3.6 v input clock frequency 4 xtali 12 12 5 13 mhz internal clock frequency, usb connected clku 48 48 mhz internal clock frequency, usb disconnected clki 12 48 mhz master clock duty cycle 40 50 60 % 1 must be connected together as close the device as possible for latch-up immunity. 2 4.0 v is required for compliant usb level. 3 regulator output of the device. 4 the maximum sample rate that can be played with correct speed is xtali/256. with 12 mhz xtali sample rates over 46875 hz are played at 46875 hz. 5 to be able to use usb, xtali must be 12 mhz. 3.3 analog characteristics of audio outputs unless otherwise noted: avdd =2.8v, cvdd =2.4v, iovdd=2.8v, ta=-40..+85 c, xtali=12 mhz, internal clock multiplier 3 : 0 . dac tested with full-scale output sinewave, measurement bandwidth 20..20000 hz, analog output load: left to cbuf 30 , right to cbuf 30 . parameter symbol min typ max unit dac resolution 18 bits dynamic range (dac unmuted, a-weighted, min gain) idr 96 db s/n ratio (full scale signal, no load) snr 92 db s/n ratio (full scale signal, 30 ohm load) snrl 75 90 db total harmonic distortion, max level, no load thd 0.01 % total harmonic distortion, max level, 30 ohm load thdl 0.1 0.3 % crosstalk (l/r to r/l), 30 ohm load, without cbuf 1 xtalk1 75 db crosstalk (l/r to r/l), 30 ohm load, with cbuf xtalk2 54 db gain mismatch (l/r to r/l) gerr -0.5 0.5 db frequency response aerr -0.05 0.05 db full scale output voltage level 450 530 600 mvrms deviation from linear phase ph 0 5 analog output load resistance aolr 30 2 analog output load capacitance aolc 100 3 pf dc level (cbuf, left, right) 1.1 1.3 v cbuf disconnect current (short-circuit protection) 130 200 ma 1 loaded from left/right pin to analog ground via 100 1 f capacitors. 2 aolr may be lower than typical , but distortion performance may be compromised. also, there is a maximum current that the internal regulators can provide. 3 cbuf must have external 10 + 47 nf load, left and right must have external 20 + 10 nf load for optimum stability and esd tolerance. version 1.0, 2007-09-11 5 vlsi solution y
VS1000b VS1000 3. characteristics & specifications 3.4 analog characteristics of regulators parameter symbol min typ max unit iovdd recommended voltage setting range 1.7 3.6 v voltage setting step size 50 60 70 mv default setting, reset mode 1 1.8 v default setting, active mode 2 1.8/3.6 3 v load regulation 4.0 mv/ma line regulation from vhigh 2.0 mv/v continuous current 30 4 40 ma cvdd recommended voltage setting range 1.8 2.6 v voltage setting step size 35 48 55 mv default setting, reset mode 1 1.8 v default setting, active mode 2 2.2 v continuous current 30 4 35 ma load regulation 2.0 mv/ma line regulation from vhigh 2.0 mv/v avdd recommended voltage setting range 2.6 3.6 v voltage setting step size 35 46 55 mv default setting, reset mode 1 2.5 v default setting, active mode 2 2.7 v continuous current 30 4 70 ma load regulation 1.5 mv/ma line regulation from vhigh 2.0 mv/v 1 device enters reset mode when xreset pin is pulled low. 2 device enters active mode when xreset pin is pulled high after reset mode. regulator settings can be modi?ed when booted from external memory (see section 7). 3 depends on gpio0 7 pin status in boot (see section 7). 4 device is tested with a 30 ma load. 3.5 analog characteristics of vhigh voltage monitor parameter symbol min typ max unit trigger voltage amon 1.07 avdd v hysteresis 50 mv 3.6 analog characteristics of cvdd voltage monitor parameter symbol min typ max unit trigger voltage cmon 1.40 1.53 v hysteresis 2 mv version 1.0, 2007-09-11 6 vlsi solution y
VS1000b VS1000 3. characteristics & specifications 3.7 analog characteristics of usb parameter symbol min typ max unit drive low level, 2.32 ma load 0.065 0.102 v drive low level, 6.1 avdd ma load 0.171 avdd 0.270 avdd v drive low level, 10.71 avdd ma load 0.300 avdd avdd v drive high level, -2.32 ma load avdd-0.165 avdd-0.065 v drive high level, -6.1 avdd ma load 0.650 avdd 0.829 avdd v drive high level, -10.71 avdd ma load 0 0.700 avdd v usbp level, with 15 k pull-down 2.7 0.943 avdd v high-level input voltage (single-ended) 0 : 7 avdd avdd+0.3 v low-level input voltage (single-ended) -0.2 0 : 3 avdd v differential input common voltage, avdd ? 3.3v 0.8 2.5 v differential input signal level, avdd ? 3.3v 200 mv input leakage current -2.0 2.0 1 a 3.8 power consumption parameter symbol min typ max unit current consumption of avdd, no signal 3.4 ma current consumption of avdd, sine test, cbuf + 30 load 33 55 ma current consumption of cvdd, sine test 3 : 0 clock 13 25 ma current consumption of usb suspend mode 1 650 1 a current consumption, reset @ 25 c 24 48 1 a example application (see section 5) iovdd=3.3v avdd=2.8v cvdd=2.5v total power, play mode, cbuf + 30 load 120 mw example application (see section 5) iovdd=2.7v avdd=2.6v cvdd=2.2v total power, pause mode 10 mw total power, play mode, cbuf + 30 load 80 mw 1 requires user code support 3.9 digital characteristics parameter symbol min typ max unit high-level input voltage 0 : 7 iovdd iovdd+0.3 v low-level input voltage -0.2 0 : 3 iovdd v high-level output voltage, -1.0 ma load 1 0 : 7 iovdd v low-level output voltage, 1.0 ma load 1 0 : 3 iovdd v xtalo high-level output voltage, -0.1 ma load 0 : 7 iovdd v xtalo low-level output voltage, 0.1 ma load 0 : 3 iovdd v input leakage current -1.0 1.0 1 a rise time of all output pins, load = 30 pf 1 50 ns 1 pins gpio0 [14:0], gpio1 [5:0]. version 1.0, 2007-09-11 7 vlsi solution y
VS1000b VS1000 4. packages and pin descriptions 4 packages and pin descriptions 4.1 packages lpqfp-48 is lead (pb) free and rohs-compliant package. rohs is a short name of directive 2002/95/ec on the restriction of the use of certain hazardous substances in electrical and electronic equipment . figure 1: pin con?guration, lqfp-48. lqfp-48 package dimensions are at http://www.vlsi.?/ . version 1.0, 2007-09-11 8 vlsi solution y 1 48
VS1000b VS1000 4. packages and pin descriptions 4.2 lqfp-48 pin descriptions pin name lqfp pin pin type function xreset 1 di active low asynchronous reset, schmitt-trigger input nfdio0 / gpio0 0 2 dio nand-?ash io0 / general-purpose io port 0, bit 0 nfdio1 / gpio0 1 3 dio nand-?ash io1 / general-purpose io port 0, bit 1 nfdio2 / gpio0 2 4 dio nand-?ash io2 / general-purpose io port 0, bit 2 nfdio3 / gpio0 3 5 dio nand-?ash io3 / general-purpose io port 0, bit 3 dgnd0 6 dgnd core & i/o ground iovdd1 7 iopwr i/o power supply test 8 di test mode input (active high), connect to dgnd nfdio4 / gpio0 4 9 dio nand-?ash io4 / general-purpose io port 0, bit 4 nfdio5 / gpio0 5 10 dio nand-?ash io5 / general-purpose io port 0, bit 5 nfdio6 / gpio0 6 11 dio nand-?ash io6 / general-purpose io port 0, bit 6 nfdio7 / gpio0 7 12 dio nand-?ash io7 / general-purpose io port 0, bit 7 nfrdy / gpio0 8 13 dio nand-?ash ready / general-purpose io port 0, bit 8 nfrd / gpio0 9 14 dio nand-?ash rd / general-purpose io port 0, bit 9 nfce / gpio0 10 15 dio nand-?ash ce / general-purpose io port 0, bit 10 nfcle / gpio0 12 16 dio nand-?ash cle / general-purpose io port 0, bit 12 nfale / gpio0 13 17 dio nand-?ash ale / general-purpose io port 0, bit 13 dgnd1 18 dgnd core & i/o ground iovdd2 19 iopwr i/o power supply nfwr / gpio0 11 20 dio nand-?ash wr / general-purpose io port 0, bit 11 cs2 / gpio0 14 21 dio general-purpose io port 0, bit 14 xcs / gpio1 0 22 dio spi xcs / general-purpose i/o port 1, bit 0 sclk / gpio1 1 23 dio spi clk / general-purpose i/o port 1, bit 1 si / gpio1 2 24 dio spi miso / general-purpose i/o port 1, bit 2 so / gpio1 3 25 dio spi mosi / general-purpose i/o port 1, bit 3 tx / gpio1 4 26 dio uart tx / general-purpose i/o port 1, bit 4 rx / gpio1 5 27 dio uart rx / general-purpose i/o port 1, bit 5 xtali 28 ai crystal input xtalo 29 ao crystal output iovdd 30 iopwr i/o power supply, regulator output dgnd2 31 dgnd core & i/o ground cvdd 32 cpwr core power supply, regulator output vhigh 33 pwr power supply, regulator input avdd 34 apwr analog power supply, regulator output usbp 35 aio usb differential + in / out, controllable 1.5k pull-up usbn 36 aio usb differential - in / out pwrbtn 37 aio power button for regulator startup (and power key) agnd0 38 apwr analog ground avdd1 39 apwr analog power supply right 40 ao right channel output agnd1 41 apwr analog ground agnd2 42 apwr analog ground cbuf 43 ao common voltage buffer for headphones avdd2 44 apwr analog power supply rcap 45 aio filtering capacitance for reference avdd3 46 apwr analog power supply left 47 ao left channel output agnd3 48 apwr analog ground version 1.0, 2007-09-11 9 vlsi solution y
VS1000b VS1000 4. packages and pin descriptions pin types: type description di digital input, cmos input pad do digital output, cmos input pad dio digital input/output ai analog input ao analog output type description aio analog input/output apwr analog power supply pin dgnd core or i/o ground pin cpwr core power supply pin iopwr i/o power supply pin version 1.0, 2007-09-11 10 vlsi solution y
VS1000b VS1000 5. example schematic 5 example schematic version 1.0, 2007-09-11 11 vlsi solution y
VS1000b VS1000 6. VS1000 functional blocks 6 VS1000 functional blocks figure 2: VS1000 block diagram 6.1 regulator section the vhigh pin in the regulator section is used as a common main power supply for voltage regulation. this input is connected to three internal regulators, which are activated when the pwrbtn pin is set high for about one millisecond, so that avdd starts to rise and reaches about 1.5 v. after the pwrbtn has given this initial start current, the regulators reach their default voltages even if the pwrbtn is released. vhigh must be suf?ciently (about 0.3 v) above the highest regulated power (normally avdd) so that regulation can be properly performed. the pwrbtn state can also be read by software, so it can be used as one of the user interface buttons. a power-on reset monitors the core voltage and asserts reset if cvdd drops below the cmon level. it is also possible to force a reset by keeping pwrbtn pressed for longer than approximately 5.6 seconds. a watchdog counter and the xreset pin can also generate a reset for the device. resets do not cause the regulators to shut down, but they restore the default regulator voltages. after boot the ?rmware and user software can change the voltages. return to power-off is possible only with active software control (vsdsp writes the regulator shutdown bit), or when vhigh voltage is removed for a suf?ciently long time. in the default ?rmware player the power button has to be pressed for 2 seconds to make the software powerdown the system and turn the regulators off. version 1.0, 2007-09-11 12 vlsi solution y reference regulator regulator regulator commonvoltage driver voltagemonitor stereoearphone driver stereodac avdd1avdd2 avdd3 serialdata/ control interface uart clock nandflash interface/ general io <1.6v usb x ram x rom y ram y rom i ram i rom vsdsp4processor usbp uspn xcs/gpio1[0] sclk/gpio1[1] si/gpio1[2] so/gpio1[3] rx/gpio1[5] tx/gpio1[4] xtalo xtali data/ gpio0[0...7] control/ gpio0[8...14] xreset test iovddavdd cvdd iovdd1iovdd2 pwrbtn vhigh rcap cbuf right left reset
VS1000b VS1000 6. VS1000 functional blocks 6.2 digital section two of the regulators provide power supply for the digital section. iovdd is used for the level-shifters of the digital i/o and crystal oscillator. the iovdd regulator output must be connected to iovdd1 and iovdd2 input pins, because they are not connected internally. proper bypass capacitors should also be used. the ?rmware uses gpio0 7 to select i/o voltage level. after reset the i/o voltage is 1.8 v. if gpio0 7 has a pull-down resistor, 1.8 v i/o voltage is used. if gpio0 7 has a pull-up resistor, 3.3 v i/o voltage is used. all other digital is powered from core voltage (cvdd). the core voltage is internally connected, and the cvdd pin should have a proper bypass capacitors. clock the crystal ampli?er uses a crystal connected to xtali and xtalo. an external logic-level input clock can also be used. when VS1000 is used with usb, 12 mhz input clock must be used. an internal phase-locked loop (pll) generates the internal clock by multiplying the input clock by 1.0 , 1.5 , . . . , 4.0 . when usb is connected, the clock is 4.0 12 mhz = 48 mhz. when the player is active, the clock will be automatically changed according to the requirements of the song being played. xreset disables the clock buffer and puts the digital section into powerdown mode. vsdsp 4 vsdsp 4 is vlsi solutions proprietary digital signal processor with a 32-bit instruction word, two 16-bit data buses, and both 16-bit and 32/40-bit arithmetic. irom, xrom, and yrom contain the ?rmware, including the default player application. most of the instruction ram and some of the x and y data rams can be used to customize and extend the functionality of the player. uart an asynchronous serial port is used for debugging and special applications. the default speed is 115200 bps. rx and tx pins can also be used for general-purpose i/o when the uart is not required. spi a synchronous serial port peripheral is used for spieeprom boot, and can be used to access other spi peripherals (for example lcd or sed) by using another chip select. the spi is only used for boot if the xcs pin has a high level after reset (pull-up resistor attached). these pins can also be used for general-purpose i/o when the spi is not required. the default player uses si and so for led outputs. version 1.0, 2007-09-11 13 vlsi solution y
VS1000b VS1000 6. VS1000 functional blocks nand flash interface the nand flash peripheral calculates a simple error-correcting code (ecc), and automates some of the com- munication with a nand flash chip. the ?rmware uses the peripheral to access both small-page (512+16 b pages) and large-page (2048+64 b pages) nand flash chips. the ?rst sector in the flash tells the ?rmware how it should be accessed. the nand flash interface pins can also be used as general-purpose i/o. the default ?rmware uses gpio0 [4:0] for keys, and gpio0 [7:6] for other purposes. pull-up and pull-down resistors must be used for these connections so that the data transfer to and from the nand flash isnt disturbed when keys are pressed. usb the usb peripheral handles usb 1.1 full speed harware protocol. low speed communication is not supported, but is correctly ignored. the usbp pin has a software-controllable 1.5k pull-up. a control endpoint (1 in and 1 out) and upto 6 other endpoints (3 in and 3 out) can be used simultaneously. bulk, interrupt, and isochronous transfer modes are selectable for each endpoint. usb receive from usb host to device (out) uses a 2 kib buffer, thus allowing very high transfer speeds. usb transmit from device to usb host (in) also uses a 2 kib buffer and allows all in endpoints to be ready to transmit simultaneously. double-buffering is also possible, but not usually required. the ?rmware uses the usb peripheral to implement both usb mass storage device and usb audio device. which device is activated depends on the state of gpio0 6 when the usb connection is detected. if gpio0 6 has a pull-up resistor, VS1000 appears as an usb audio device. if gpio0 6 has a pull-down resistor, VS1000 appears as an usb mass storage device. 6.3 analog section the third regulator provides power for the analog section. the analog section consists of digital to analog converters and earphone driver. this includes a buffered common voltage generator (cbuf, around 1.2 v) that can be used as a virtual ground for headphones. the avdd regulator output pin must be connected to avdd1..avdd3 pins with proper bypass capacitors, be- cause they are not connected internally. the usb pins use the internal avdd voltage, and the ?rmware con?gures avdd to 3.6 v when usb is attached. low avdd voltage can be monitored by software. currently the ?rmware does not take advantage of this feature. cbuf contains a short-circuit protection. it disconnects the cbuf driver if pin is shorted to ground. in practise this only happens with external power regulation, because there is a limit to how much power the internal regulators can provide. version 1.0, 2007-09-11 14 vlsi solution y
VS1000b VS1000 7. firmware operation 7 firmware operation the ?rmware uses the following pins (see the example schematics in section 5): pin description pwrbtn high level starts regulator, is also read as the power button key. gpio0 0 external 1 m pull-down resistor, key 1 connects a 100 k pull-up resistor gpio0 1 external 1 m pull-down resistor, key 2 connects a 100 k pull-up resistor gpio0 2 external 1 m pull-down resistor, key 3 connects a 100 k pull-up resistor gpio0 3 external 1 m pull-down resistor, key 4 connects a 100 k pull-up resistor gpio0 4 external 1 m pull-down resistor, key 5 connects a 100 k pull-up resistor gpio0 6 external pull-down resistor for usb mass storage device, pull-up for usb audio device gpio0 7 external pull-down resistor for 1.8 v i/o voltage, pull-up resistor for 3.3 v i/o voltage nfce external pull-up resistor for normal operation, pull-down to use ram disk for ums device xcs external pull-up to enable spi eeprom boot si power led control during ?rmware operation so feature led control during ?rmware operation usbn external 1 m pull-up usbp external 1 m pull-up boot order: stage description power on power button (pwrbtn) pressed when vhigh has enough voltage reset power-on reset, xreset, or watchdog reset causes software restart uart boot almost immediately after power-on uart can be used to enter emulator mode. spi eeprom boot if xcs is high, spi boot is tried. nand flash probed if nfce is high, nand flash is checked. default ?rmware the ?rmware in rom takes control. 7.1 spi boot the ?rst boot method is spi eeprom. if gpio1 0 is low after reset, spi boot is skipped. if gpio1 0 is high, it is assumed to have a pull-up resistor and spi boot is tried. first the ?rst four bytes of the spi eeprom are read using 16-bit address. if the bytes are vlsi, a 16-bit eeprom is assumed and the boot continues. if the last 3 bytes are read as vls, a 24-bit eeprom is assumed and boot continues in 24-bit mode. both 16-bit and 24-bit eeprom should have the vlsi string starting at address 0, and the rest of the boot data starting at address 4. if no identi?er is found, spi eeprom boot is skipped. boot records are read from eeprom until an execute record is reached. unknown records are skipped using the data length ?eld. byte description 0 type 0=i-mem 1=x-mem 2=y-mem 3=execute 1,2 data len lo, hi C data length in bytes 3, 4 address lo, hi C record address 5.. data* version 1.0, 2007-09-11 15 vlsi solution y
VS1000b VS1000 7. firmware operation 7.2 nand flash probe if nand flash chip select (nfce) is high, a nand flash is assumed to be present and the ?rst sector is read. the access methods (nandtypes 0..5) are tried in order to ?nd the vlsi identi?cation. if the ?rst bytes are vlsi, a valid boot sector is assumed. this sector gives the necessary information about the nand flash so that it can be accessed in the right way. byte value description 0,1,2,3 0x56 0x4c 0x53 0x49 v l s i C identi?cation 4,5 0x00 0x03 nandtype (0x0003 = large-page with 3-byte block address) 6 0x08 blocksizebits ( 2 8 512 = 128 kib per block) 7 0x13 ?ashsizebits ( 2 19 512 = 256 mib ?ash) 8,9 0x00 0x46 nandwaitns C nand flash access time in ns 10,11 0x00 0x01 number of extra blocks for boot (example: 0x0001) 12,13,14,15 0x42 0x6f 0x4f 0x74 b o o t C optional boot ident 16...511 code nandtype description 0 512+16 b small-page ?ash with 2-byte block address ( < = 32 mb) 1 2048+64 b large-page ?ash with 2-byte block address ( < = 128 mb) 2 512+16 b small-page ?ash with 3-byte block address ( > 32 mb < = 8 gb) 3 2048+64 b large-page ?ash with 3-byte block address ( > 128 mb < = 32 gb) 4 512+16 b small-page ?ash with 4-byte block address ( > 8 gb) 5 2048+64 b large-page ?ash with 4-byte block address ( > 32 gb) if bytes 12-15 contain boot, the value in bytes 10 and 11 determines how many sectors are read from nand- ?ash. value 1 means two 512-byte sectors are read, value 0 means only the ?rst block is needed. after the data is read into memory, the boot records in this data are processed, transferring code and data sections into the right places in memory and possibly executed. if an unknown boot record is encountered, the booting is stopped and control returns to the ?rmware code. word description 0 type 0x8000=i-mem 0x8001=x-mem 0x8002=y-mem 0x8003=execute 1 data length in words -1 C 0 = 1 word, 1 = 2 words, etc. 2 address C record address 3.. data note: in VS1000a you can not have y-memory records. note: in VS1000b you need one ?ller word after each y-memory record. if nfce is low during boot, or an uninitialized nand flash is connected, the nand flash type is set to 0xffff, and a ram disk is initialized when usb is attached. in this mode you can drop a boot ?le named VS1000 b.run into the disk and it will be run when the usb is disconnected. this way you can easily program a player that has an uninitialized nand flash or spi eeprom. 7.3 uart boot/monitor when byte 0xef is sent to rx at 115200 bps, the ?rmware enters monitor mode and communicates with vs3emu . memory contents can be displayed, executables can be loaded and run, or the ?rmware code can be restarted or continued. the uart is also a convenient way to program the nand flash boot sector(s) or the spi eeprom. version 1.0, 2007-09-11 16 vlsi solution y
VS1000b VS1000 7. firmware operation 7.4 default firmware features 7.4.1 usb mass storage and audio device when usb cable insertion is detected by the ?rmware, playing of the current ?le is stopped and usb handling code is started. the internal clock is con?gured to 4.0 12 mhz = 48 mhz, the analog power is con?gured to 3.6 v, the usb peripheral is initialized, and the usb pull-up resistor is enabled. if gpio0 6 has a pull-up resistor, VS1000 appears as an usb audio device. if gpio0 6 has a pull-down resistor, VS1000 appears as an usb mass storage device. if during power-on the nand flash contained a valid boot sector, the nand flash disk will be used with the mass storage device. the nand flash disk requires a ?lesystem-level formatting before it can be used. if nfce had a pull-down instead of pull-up, or if a valid boot sector was not found, a ram disk is used instead. the ram disk is preformatted and can be used immediately, but it does not retain its contents between usb detachment and insertion. the ram disk is only intended for loading software through usb. you can copy a ?le VS1000 b.run to ram disk and it will be automatically run when you disconnect the usb cable. this mechanism can be used to program the nand flash boot sector (perhaps containing custom boot code), and also for programming a spi eeprom in case nand flash is not used in the application. 7.4.2 default player application when the usb cable is detached, the contents of the disk is checked. if the disk seems to contain a fat16 or fat32 ?lesystem, a cleanup of unused sectors is performed. the cleanup makes the disk perform faster the next time something is written on it. if a full disk has been formatted or emptied, this cleanup can take considerable time, even 30 seconds or more. after the cleanup is ?nished the player starts to play ?les. note: normally windows formats smaller than about 16 mb disks as fat12. the player has only partial support for fat12 disks: no cleanup is performed, subdirectories are not allowed, and ?les are assumed not to be fragmented. if disks as small as or smaller than this are required, it is possible to format them as fat16 with the following command. format e: /a:512 /fs:fat the default player application only decodes ogg vorbis ?les, but it can be extended to allow some simple codecs, like a wav decoder. in addition to the power button, 5 keys are connected to gpio0 [4:0] so that they connect a 100 k pull-up to the i/o when the button is pressed, and 1 m pull-downs keep the lines low otherwise. the resistors are needed because these lines are also used for nand flash communication. the keys are read approximately 16 times per second. the key control can be changed by replacing the default key mapping table. the default user interface uses six buttons. button short press < 1 second long press > = 1 second power power on, pause / play power off (pressed for 2 seconds) key1 volume down volume down key2 volume up volume up key3 previous rewind key4 next fast forward key5 earspeaker random on / off version 1.0, 2007-09-11 17 vlsi solution y
VS1000b VS1000 7. firmware operation power button a press of the power button turns on the system. after boot the power led (the led connected to si) is turned on. after the startup a short press of the power button toggles between pause and play modes. in pause mode the power led ?ashes. when the power button is pressed for 2 seconds, the system powers down. volume buttons volume can be turned up or down with 0.5 db steps using the volume buttons. a short press changes the volume by 0.5 db, a long press will change the volume by approximately 8 db every second. previous / next buttons a song can be changed using the previous and next buttons. a short press of the previous button will restart the song if it has been played for at least 5 seconds, and go to the previous song otherwise. a short press of the next button goes to the next song. a long press of previous or next will rewind and fast forward the song, respectively. feature button the sixth button controls two features: the earspeaker spatial processing and the random play function. a long press of the feature button toggles the random play function. when random play becomes activated, a new song is automatically randomly selected. when random play mode is active, the feature led (the led connected to so) will light up. a short press of the feature button will select between four earspeaker modes: off , minimal , normal , and extreme . version 1.0, 2007-09-11 18 vlsi solution y
VS1000b VS1000 7. firmware operation 7.5 supported audio codecs 7.5.1 supported ogg vorbis formats parameter min max unit channels 1 2 window size 64 4096 samples sample rate 48000 hz bit rate 500 kbit/s maximum window size for an ogg vorbis ?le is 8192, however only window sizes upto 4096 are in active use with sample rates not exceeding 48 khz. with usb (12 mhz clock) sample rates above 46875 hz are played back at 46875 hz. there are no sample rate restrictions for lower sample rates: non-standard sample rates can be played back without a performance penalty. only ?oor 1 is supported. no known current encoder uses ?oor 0. all one- and two-channel ogg vorbis ?les within the restrictions above should be playable with this decoder. ogg vorbis decoding supports replay gain technology. if the decoder ?nds a replay gain tag in the song header, the tag is parsed and the player software uses it to adjust the sound level. for a song without any replay gain tag, a default of -6 db is used. for more details about replay gain, see http://en.wikipedia.org/wiki/replay gain and http://www.replaygain.org/ . version 1.0, 2007-09-11 19 vlsi solution y
VS1000b VS1000 7. firmware operation 7.6 earspeaker spatial processing while listening to headphones the sound has a tendency to be localized inside the head. the sound ?eld becomes ?at and lacking a sensation of dimensions. this is an unnatural, awkward and sometimes even disturbing situation. this phenomenon is often referred in literature as lateralization, meaning in-the-head localization. long-term listening to lateralized sound may lead to listening fatigue. all real-life sound sources are external, leaving traces of the acoustic wavefront that arrives to the ear drums. from these traces, the auditory system in the brain is able to judge the distance and angle of each sound source. in loudspeaker listening the sound is external and these traces are available. in headphone listening these traces are missing or ambiguous. the earspeaker processing makes listening via headphones more like listening to the same music from real loud- speakers or live. once earspeaker processing is activated, the instruments are moved from inside to the outside of the head, making it easier to separate different instruments (see ?gure 3). the listening experience becomes more natural and pleasant, and the stereo image is sharper as the instruments are widely in front of the listener instead of being inside the head. figure 3: earspeaker externalized sound sources vs. normal inside-the-head sound note that earspeaker differs from any common spatial processing effects, such as echo, reverb, or bass boost. earspeaker accurately simulates the human auditory model and real listening environment acoustics. thus it does not change the tonal character of the music by introducing arti?cial effects. earspeaker processing can be parameterized to a few different modes, each simulating a little different type of an acoustical situation and suiting different personal preferences as well as different types of recording. 2 off : best option when listening through loudspeakers or if the audio to be played contains binaural prepro- cessing 2 minimal : listening to normal musical scores with headphones, very subtle 2 normal : listening to normal musical scores with headphones, moves sound source further than minimal 2 extreme : old or dry recordings, or if the audio to be played is arti?cial version 1.0, 2007-09-11 20 vlsi solution y
VS1000b VS1000 8. VS1000 errata 8 VS1000 errata this chapter describes the known problems with different VS1000 revisions. most of the problems are correctable with user code that is loaded to iram. VS1000a errata 2 you can not have initialized y data with nand flash or ramdisk boot. 2 earspeaker initialization problem with other channel. 2 analog drivers are enabled too soon, causing a small click in headphones. 2 intermediate results are saturated in vorbis windowing with full-scale sine sweep. 2 if flash does not contain a ?le system, user interface (including power off) can not be used. 2 ramdisk boot from VS1000 a.run only allows upto 512-byte programs directly. 2 volume is uninitialized with usb audio device if usb is already attached when power is turned on. 2 in most cases replay gain fails if other tags are present. VS1000b changes 2 nand flash and ramdisk boot can have initialized y data. 2 earspeaker initialization ?xed, earspeaker optimized from 12 mhz to 10 mhz (at 44.1 khz). 2 small power-on click removed. 2 user interface works even if there is no ?lesystem. (you can turn the power off.) 2 nand flash boot handles larger than 512-byte programs without a chain-loader routine (upto 8176 bytes). ramdisk boot (VS1000 b.run) handles larger than 512-byte programs (upto 8192 bytes). 2 when attached to usb, led is ?ashed when there is read/write activity. led is turned off when the ?le system has been ?ushed. 2 volume is always initialized, usb audio device can be powered on while attached to usb (powered from vbus). 2 usb suspend + resume are implemented (but need user tuning). 2 vorbis: now uses adaptive accuracy for windowing, implements fast play mode, and has better synchro- nization after non-fatal errors. replay gain has been ?xed. 2 player: fast play mode is used for better-sounding fast forward. fast forward speeds up when the ff button is kept pressed. player uses the suspend routine to implement low-power pause mode. timeout turns the unit off after being 5 minutes in pause mode. the default maximum clock in player mode is 3.5 . 2 some new iram hooks: keyeventhandler, massstorage, usbsuspend, initusbdescriptors. VS1000c changes 2 has the same ?rmware as version b. VS1000b/c errata 2 nand flash and ramdisk boot needs one ?ller word after every y data record. version 1.0, 2007-09-11 21 vlsi solution y
VS1000b VS1000 9. document version changes 9 document version changes this chapter describes the most important changes to this document. version 1.0 for VS1000b/c, 2007-09-11 2 production version. 2 maximum and operational limits updated. version 0.4 for VS1000b/c, 2007-09-06 2 release for VS1000b / VS1000c. 2 added VS1000 errata: chapter 8. version 0.3, 2007-05-09 2 updated example schematic in chapter 5. version 0.2, 2007-01-25 2 minor changes. version 0.1, 2006-11-22 2 first pre-release version. version 1.0, 2007-09-11 22 vlsi solution y
VS1000b VS1000 10. contact information 10 contact information vlsi solution oy entrance g, 2nd ?oor hermiankatu 8 fin-33720 tampere finland fax: +358-3-3140-8288 phone: +358-3-3140-8200 email: sales@vlsi.? url: http://www.vlsi.?/ version 1.0, 2007-09-11 23 vlsi solution y


▲Up To Search▲   

 
Price & Availability of VS1000

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X